package cn.gson.boot.model.pojos;

import javax.persistence.*;
import java.util.Objects;

@Entity
@Table(name = "status_", schema = "boot", catalog = "")
public class Status {//状态表
    private int statusId;//状态id
    private String statusType;//状态类型

    @Id
    @Column(name = "status_id", nullable = false)
    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    @Basic
    @Column(name = "status_type", nullable = true, length = 200)
    public String getStatusType() {
        return statusType;
    }

    public void setStatusType(String statusType) {
        this.statusType = statusType;
    }

    @Override
    public String toString() {
        return "{" +
                "statusId=" + statusId +
                ", statusType='" + statusType + '\'' +
                '}';
    }
}
